﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DualPlaneFR4Paster.Migrations
{
    public partial class 添加数据1658 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 5, "X轴调试速度", 1, "XJogSpeed", "Double", "mm/s", "20" });

            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 6, "Y轴调试速度", 1, "YJogSpeed", "Double", "mm/s", "20" });

            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 7, "Z轴调试速度", 1, "ZJogSpeed", "Double", "mm/s", "20" });

            migrationBuilder.InsertData(
                table: "MParams",
                columns: new[] { "Id", "Alias", "Floor", "Name", "Type", "Unit", "Value" },
                values: new object[] { 8, "R轴调试速度", 1, "RJogSpeed", "Double", "mm/s", "20" });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 5);

            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 6);

            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 7);

            migrationBuilder.DeleteData(
                table: "MParams",
                keyColumn: "Id",
                keyValue: 8);
        }
    }
}
